﻿using OA.Models.Root;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OA.Models
{
    public class SysRole:EntityBase
    {
        [Required]
        [StringLength(20)]
        public string Name { get; set; }

        public virtual ICollection<SysUser> Users { get; set; }

        public virtual ICollection<SysAction> Actions { get; set; }

    }
}
